import previewImage from '../../../mp-weixin/helpers/normalize-preview-image'
export const protocols = {
  previewImage
}
export const todos = [
  'createLivePlayerContext',
  'createLivePusherContext',
  'loadFontFace',
  'onMemoryWarning',
  'onNetworkStatusChange',
  'startBeaconDiscovery',
  'stopBeaconDiscovery',
  'getBeacons',
  'onBeaconUpdate',
  'onBeaconServiceChange',
  'addPhoneContact',
  'getHCEState',
  'startHCE',
  'stopHCE',
  'onHCEMessage',
  'sendHCEMessage',
  'startWifi',
  'stopWifi',
  'connectWifi',
  'getWifiList',
  'onGetWifiList',
  'setWifiList',
  'onWifiConnected',
  'getConnectedWifi',
  'setNavigationBarColor',
  'setTopBarText',
  'getExtConfig',
  'getExtConfigSync',
  'getPhoneNumber',
  'chooseAddress',
  'addCard',
  'openCard',
  'getWeRunData',
  'launchApp',
  'chooseInvoiceTitle',
  'checkIsSupportSoterAuthentication',
  'startSoterAuthentication',
  'checkIsSoterEnrolledInDevice',
  'reportMonitor',
  'getLogManager',
  'reportAnalytics',
  'vibrate'
]
export const canIUses = [
  'scanCode',
  'startAccelerometer',
  'stopAccelerometer',
  'onAccelerometerChange',
  'startCompass',
  'onCompassChange',
  'setScreenBrightness',
  'getScreenBrightness',
  'setKeepScreenOn',
  'onUserCaptureScreen',
  'vibrateLong',
  'vibrateShort',
  'createWorker',
  'connectSocket',
  'onSocketOpen',
  'onSocketError',
  'sendSocketMessage',
  'onSocketMessage',
  'closeSocket',
  'onSocketClose',
  'openDocument',
  'updateShareMenu',
  'getShareInfo'
]
